<div>
    <app-add-model #model class="add"></app-add-model>
    <br />
    <br />
    <nz-table #editRowTable nzBordered nzShowSizeChanger [nzPageSizeOptions]=[2,4,8,10] [nzShowQuickJumper]=true
        [nzPageSize]=4 [nzData]="getUsers()" [nzScroll]="{ x: '1150px', y: '300px' }">
        <thead>
            <tr>
                <th>编号</th>
                <!-- <th nzWidth="30%">姓名</th> -->
                <th>姓名</th>
                <th>账号</th>
                <th>状态</th>
                <th>创建时间</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let data of editRowTable.data" class="editable-row">
                <td> {{data.id}}</td>
                <td>{{data.name}}</td>
                <td>{{ data.number }}</td>
                <td>{{ data.status }}</td>
                <td>{{data.createTime}}</td>
                <td>
                    <a (click)="editUser(data.id,$event)">修改</a>
                    <nz-divider nzType="vertical"></nz-divider>
                    <a #a nz-popconfirm nzPopconfirmTitle="确定删除?" nzPopconfirmPlacement='rightBottom'
                        (nzOnConfirm)="deleteRow(data.id)">删除</a>
                </td>
            </tr>
        </tbody>
    </nz-table>
</div>